@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';

html, body {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  font-size: 14px;
  min-width: 600px;
  min-height: 500px;
  background-color: rgb(250, 250, 250);
}

@import "./html-tag";

#app {
  width: 100%;
  height: 100%;
}

@import "style-class";

//main-container全局样式
.app-container {
  position: relative;
  min-height: calc(100vh - 50px);
  padding: 10px 20px 80px 20px;
  &.no-pagination {
    padding: 10px 20px;
  }
}

.sub-container {
  min-height: calc(100vh - 120px);
  padding-bottom: 80px;
  &.no-pagination {
    padding-bottom: 20px;
  }
}

.pagination-container {
  margin-top: 30px;
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
  .subtitle {
    font-size: 20px;
    color: #fff;
  }
  &.draft {
    background: #d0d0d0;
  }
  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;
  &:hover {
    color: rgb(32, 160, 255);
  }
}

.page-container-title {
  position: relative;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgb(156, 203, 242);
  img {
    width: 24px;
    height: 24px;
    margin-right: 5px;
  }
  span {
    display: inline-block;
    line-height: 26px;
    height: 24px;
    font-size: 16px;
    vertical-align: top;
  }
}

.filter-container {
  position: relative;
  min-height: 42px;
  padding-bottom: 10px;
  .filter-item {
    display: inline-block;
    vertical-align: middle;
  }
  .right-block {
    position: absolute;
    right: 0;
    top: 0;
  }
  .el-input {
    vertical-align: bottom;
  }
  .label-text {
    margin: 0 5px 0 10px;
    &:first-child{
      margin-left: 0;
    }
  }
}

.theme-title {
  margin: 15px 0;
  font-size: 18px;
  font-weight: normal;
  &:first-child{
    margin-top: 0;
  }
}

.table-title {
  padding: 20px 0;
  background-color: #fff;
  text-align: center;
  font-size: 20px;
  border: 1px solid #EBEEF5;
  border-bottom: none;
}

.page-pagination {
  position: absolute;
  bottom: 30px;
  padding: 0 20px;
  width: 100%;
  height: 32px;
  left: 0;
  .el-pagination {
    position: absolute;
    right: 20px;
  }
}

.check-wrap {
  .check-item {
    margin-bottom: 8px;
    &:last-child{
      margin-bottom: 0;
    }
  }
}

.theme-select {
  width: 100%;
}

.sub-table {
  overflow: hidden;
  position: relative;
  .no-balance-tag {
    z-index: 100;
    position: absolute;
    top: -120px;
    right: -120px;
    width: 200px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 170px 0 10px 0;
    line-height: 20px;
    transform: rotate(45deg);
    background-color: rgb(244, 208, 208);
    color: rgb(229, 48, 45);
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
